extends "../aheye-3/aheye-3.gd"


var baseId = ""
var upText1 = "先进火控额外赋予目标2层<剧毒>"
var upText2 = "先进火控范围+1"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每受到3次伤害，必定闪避下1次伤害", "超载")

var skIndex3 = 0
func onHurtEnd(atkInfo):
	.onHurtEnd(atkInfo)
	skIndex3 += 1

func _onHurt(atkInfo):
	._onHurt(atkInfo)
	if not atkInfo.isMiss and not atkInfo.virtual and skIndex3 >= 3:
		atkInfo.isMiss = true
		skIndex3 = 0
		sk3()

func _onBattleStart():
	._onBattleStart()
	skIndex3 = 0


func upgrade():
	.upgrade()
	if upgraded == 2:
		p31 = 2